-- GENERATED SPELL FOR [Argent Peacekeeper] --


function spell0_34179(pUnit, Event) --@Chains of Law,n/a--
pUnit:FullCastSpellOnTarget(63861,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_34179', 5338, 1)
end

function Sorts_34179(pUnit, Event)
local choix_sorts_34179 = math.random(0, 0)
if choix_sorts_34179 == 0 then
pUnit:RegisterEvent('spell0_34179', 1, 1)
end
end

function mob34179_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_34179', math.random(1500, 3000), 1)
end

function mob34179_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob34179_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob34179_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(34179, 1, 'mob34179_Action')
RegisterUnitEvent(34179, 2, 'mob34179_Leave')
RegisterUnitEvent(34179, 3, 'mob34179_Kill')
RegisterUnitEvent(34179, 4, 'mob34179_Die')
